package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author nzmxfan
 * @create 2021-09-03-20:11
 */
public interface CustomerDao {

    void save(@Param("customer") Customer customer);

    boolean update(@Param("customer") Customer customer);

    List<Customer> list(@Param("page") int page, @Param("rows") Integer rows, @Param("customerName") String customerName);

    int total(@Param("customerName") String customerName);

    void deleteById(@Param("ids") String[] strings);
}
